#ifndef __APP_MSG_H__
#define __APP_MSG_H__
#include"app_common.h"
#include"stdint.h"
#include"cjson/cJSON.h"
typedef struct
{
    char *connType;
    int motorId;
    char *action;
    char *status;
    int16_t motorSpeed;
} msg_t;

GateState_t App_Msg_Json2Char(msg_t*msg,char*json);
GateState_t App_Msg_Char2Json(msg_t*msg,char*json);


#endif /* __APP_MSG_H__ */